package com.yenlien.traceyun.breed.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import com.yenlien.traceyun.business.entity.TraceScanEntity;
import com.yenlien.traceyun.business.trace.Trace;

/**
 * 养殖耳号、RFID详情
 *
 * @author maybe
 * @date 2020年9月22日
 */
@Entity
@Table(name = "t_breed_detail")
public class BreedDetail extends TraceScanEntity {
    @Column
    private String relevanceId;            //关联ID
    @Column
    private String batch;                //养殖批号
    @Column
    private String seedName;            //品种名称
    @Column
    private String type;                //编号类型(耳号、RFID、养殖批号)
    @Column
    private String code;                //编号
    @Column
    private String sex;                    //性别
    @Column
    private String equipmentId;            //设备ID
    @Column
    private String equipmentName;        //设备名称
    @Column
    private String source;                //来源(养殖、繁殖、母源)
    @Column
    private String time;                //导入时间
    @Column
    private int isOut;                    //是否出场(0：未出场，1：已出场)

    public String getBatch() {
        return batch;
    }

    public void setBatch(String batch) {
        this.batch = batch;
    }

    public String getRelevanceId() {
        return relevanceId;
    }

    public void setRelevanceId(String relevanceId) {
        this.relevanceId = relevanceId;
    }

    public String getSeedName() {
        return seedName;
    }

    public void setSeedName(String seedName) {
        this.seedName = seedName;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getEquipmentId() {
        return equipmentId;
    }

    public void setEquipmentId(String equipmentId) {
        this.equipmentId = equipmentId;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public int getIsOut() {
        return isOut;
    }

    public void setIsOut(int isOut) {
        this.isOut = isOut;
    }
}
